.class public Les/j70;
.super Les/s80;
.source "ESPCSDownloadTask.java"


# instance fields
.field public D:Ljava/lang/String;

.field public E:Z

.field public F:Lcom/estrongs/fs/impl/pcs/a;

.field protected G:Lcom/estrongs/fs/f;

.field private H:Z

.field private I:Z

.field private J:Ljava/lang/Object;

.field private K:Ljava/lang/Long;

.field private L:Ljava/lang/Long;

.field private M:Ljava/lang/String;

.field private N:Ljava/lang/String;

.field private O:Ljava/lang/String;

.field private P:Lcom/estrongs/fs/impl/pcs/PcsFileSystem;


# direct methods
.method public constructor <init>(Lcom/estrongs/fs/f;Ljava/lang/String;Lcom/estrongs/fs/impl/pcs/a;)V
    .locals 1
    .param p2    # Ljava/lang/String;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    const/4 v0, 0x0

    .line 3
    invoke-direct {p0, p1, p2, p3, v0}, Les/j70;-><init>(Lcom/estrongs/fs/f;Ljava/lang/String;Lcom/estrongs/fs/impl/pcs/a;Ljava/lang/String;)V

    return-void
.end method

.method public constructor <init>(Lcom/estrongs/fs/f;Ljava/lang/String;Lcom/estrongs/fs/impl/pcs/a;Ljava/lang/String;)V
    .locals 4
    .param p2    # Ljava/lang/String;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 4
    invoke-direct {p0}, Les/s80;-><init>()V

    const/4 v0, 0x0

    .line 5
    iput-boolean v0, p0, Les/j70;->E:Z

    const/4 v1, 0x0

    .line 6
    iput-object v1, p0, Les/j70;->G:Lcom/estrongs/fs/f;

    .line 7
    iput-boolean v0, p0, Les/j70;->H:Z

    const/4 v0, 0x1

    .line 8
    iput-boolean v0, p0, Les/j70;->I:Z

    .line 9
    new-instance v0, Ljava/lang/Object;

    invoke-direct {v0}, Ljava/lang/Object;-><init>()V

    iput-object v0, p0, Les/j70;->J:Ljava/lang/Object;

    const-wide/16 v2, 0x0

    .line 10
    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    iput-object v0, p0, Les/j70;->K:Ljava/lang/Long;

    .line 11
    iput-object v0, p0, Les/j70;->L:Ljava/lang/Long;

    .line 12
    iput-object v1, p0, Les/j70;->M:Ljava/lang/String;

    .line 13
    iput-object v1, p0, Les/j70;->N:Ljava/lang/String;

    .line 14
    iput-object v1, p0, Les/j70;->O:Ljava/lang/String;

    const-string v0, "pcs"

    .line 15
    invoke-static {v0}, Les/j30;->h(Ljava/lang/String;)Lcom/estrongs/android/pop/netfs/INetFileSystem;

    move-result-object v0

    check-cast v0, Lcom/estrongs/fs/impl/pcs/PcsFileSystem;

    iput-object v0, p0, Les/j70;->P:Lcom/estrongs/fs/impl/pcs/PcsFileSystem;

    .line 16
    iput-object p4, p0, Les/j70;->O:Ljava/lang/String;

    .line 17
    invoke-direct {p0, p1, p2, p3}, Les/j70;->a(Lcom/estrongs/fs/f;Ljava/lang/String;Lcom/estrongs/fs/impl/pcs/a;)V

    .line 18
    invoke-direct {p0}, Les/j70;->E()V

    .line 19
    invoke-static {}, Les/t80;->b()Les/t80;

    move-result-object p1

    invoke-virtual {p1, p0}, Les/t80;->a(Les/s80;)V

    return-void
.end method

.method public constructor <init>(Lcom/estrongs/fs/f;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .param p2    # Ljava/lang/String;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    new-instance v0, Lcom/estrongs/fs/impl/pcs/a;

    const-string v1, "/apps/Downloads/"

    invoke-direct {v0, p2, p3, v1}, Lcom/estrongs/fs/impl/pcs/a;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    invoke-direct {p0, p1, p2, v0}, Les/j70;-><init>(Lcom/estrongs/fs/f;Ljava/lang/String;Lcom/estrongs/fs/impl/pcs/a;)V

    return-void
.end method

.method public constructor <init>(Lcom/estrongs/fs/f;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .param p2    # Ljava/lang/String;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 2
    new-instance v0, Lcom/estrongs/fs/impl/pcs/a;

    const-string v1, "/apps/Downloads/"

    invoke-direct {v0, p2, p3, v1}, Lcom/estrongs/fs/impl/pcs/a;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    invoke-direct {p0, p1, p2, v0, p4}, Les/j70;-><init>(Lcom/estrongs/fs/f;Ljava/lang/String;Lcom/estrongs/fs/impl/pcs/a;Ljava/lang/String;)V

    return-void
.end method

.method public constructor <init>(Lcom/estrongs/fs/f;Lorg/json/JSONObject;)V
    .locals 5

    .line 20
    invoke-direct {p0, p2}, Les/s80;-><init>(Lorg/json/JSONObject;)V

    const/4 v0, 0x0

    .line 21
    iput-boolean v0, p0, Les/j70;->E:Z

    const/4 v1, 0x0

    .line 22
    iput-object v1, p0, Les/j70;->G:Lcom/estrongs/fs/f;

    .line 23
    iput-boolean v0, p0, Les/j70;->H:Z

    const/4 v0, 0x1

    .line 24
    iput-boolean v0, p0, Les/j70;->I:Z

    .line 25
    new-instance v2, Ljava/lang/Object;

    invoke-direct {v2}, Ljava/lang/Object;-><init>()V

    iput-object v2, p0, Les/j70;->J:Ljava/lang/Object;

    const-wide/16 v2, 0x0

    .line 26
    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    iput-object v4, p0, Les/j70;->K:Ljava/lang/Long;

    .line 27
    iput-object v4, p0, Les/j70;->L:Ljava/lang/Long;

    .line 28
    iput-object v1, p0, Les/j70;->M:Ljava/lang/String;

    .line 29
    iput-object v1, p0, Les/j70;->N:Ljava/lang/String;

    .line 30
    iput-object v1, p0, Les/j70;->O:Ljava/lang/String;

    const-string v1, "pcs"

    .line 31
    invoke-static {v1}, Les/j30;->h(Ljava/lang/String;)Lcom/estrongs/android/pop/netfs/INetFileSystem;

    move-result-object v1

    check-cast v1, Lcom/estrongs/fs/impl/pcs/PcsFileSystem;

    iput-object v1, p0, Les/j70;->P:Lcom/estrongs/fs/impl/pcs/PcsFileSystem;

    const-string v1, "user_info"

    .line 32
    invoke-virtual {p2, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    new-instance v4, Lcom/estrongs/fs/impl/pcs/a;

    invoke-direct {v4, p2}, Lcom/estrongs/fs/impl/pcs/a;-><init>(Lorg/json/JSONObject;)V

    invoke-direct {p0, p1, v1, v4}, Les/j70;->a(Lcom/estrongs/fs/f;Ljava/lang/String;Lcom/estrongs/fs/impl/pcs/a;)V

    const-string p1, "status"

    .line 33
    invoke-virtual {p2, p1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result p1

    const/4 v1, 0x4

    if-eq p1, v1, :cond_0

    .line 34
    invoke-virtual {p0, v0}, Les/s80;->a(I)V

    goto :goto_0

    .line 35
    :cond_0
    invoke-virtual {p0, v1}, Les/s80;->a(I)V

    .line 36
    :goto_0
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    iput-wide v2, p1, Les/w80$a;->f:J

    const-string v0, "size"

    .line 37
    invoke-virtual {p2, v0}, Lorg/json/JSONObject;->optLong(Ljava/lang/String;)J

    move-result-wide v0

    iput-wide v0, p1, Les/w80$a;->e:J

    return-void
.end method

.method private D()Z
    .locals 2

    .line 1
    iget-object v0, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    const-string v1, "status"

    invoke-virtual {v0, v1}, Lcom/estrongs/fs/a;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/Object;)I

    move-result v0

    const/4 v1, 0x2

    if-eq v0, v1, :cond_1

    const/4 v1, 0x3

    if-eq v0, v1, :cond_1

    const/4 v1, 0x4

    if-eq v0, v1, :cond_1

    const/4 v1, 0x5

    if-eq v0, v1, :cond_1

    const/4 v1, 0x6

    if-eq v0, v1, :cond_1

    const/4 v1, 0x7

    if-ne v0, v1, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    return v0

    :cond_1
    :goto_0
    const/4 v1, 0x0

    .line 2
    invoke-virtual {p0, v0, v1}, Les/s80;->b(ILjava/lang/Object;)V

    const/4 v0, 0x1

    return v0
.end method

.method private E()V
    .locals 5

    .line 1
    iget-wide v0, p0, Les/s80;->p:J

    const-wide/16 v2, -0x1

    cmp-long v4, v0, v2

    if-nez v4, :cond_0

    .line 2
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Les/s80;->p:J

    .line 3
    :cond_0
    iget-object v0, p0, Les/j70;->O:Ljava/lang/String;

    invoke-static {v0}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    iget-object v0, v0, Lcom/estrongs/fs/impl/pcs/a;->q:Ljava/lang/String;

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_1
    iget-object v0, p0, Les/j70;->O:Ljava/lang/String;

    .line 4
    :goto_0
    invoke-virtual {p0}, Les/s80;->k()J

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    const-string v2, "task_id"

    invoke-virtual {p0, v2, v1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 5
    iget-wide v1, p0, Les/s80;->p:J

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    const-string v2, "start_time"

    invoke-virtual {p0, v2, v1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const/16 v1, 0x17

    .line 6
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    const-string v2, "task_type"

    invoke-virtual {p0, v2, v1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const/4 v1, 0x0

    .line 7
    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    const-string v2, "restartable"

    invoke-virtual {p0, v2, v1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v1, "title"

    .line 8
    invoke-virtual {p0, v1, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const/4 v1, 0x1

    .line 9
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    const-string v3, "items_ori_count"

    invoke-virtual {p0, v3, v2}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 10
    iget-object v2, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    iget-object v2, v2, Lcom/estrongs/fs/impl/pcs/a;->q:Ljava/lang/String;

    const-string v3, "source"

    invoke-virtual {p0, v3, v2}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 11
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Les/j70;->D:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v2, "target"

    invoke-virtual {p0, v2, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 12
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    const-string v1, "status"

    invoke-virtual {p0, v1, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 13
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Les/j70;->M:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ":"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Les/j70;->N:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "user_info"

    invoke-virtual {p0, v1, v0}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    return-void
.end method

.method private a(Lcom/estrongs/fs/f;Ljava/lang/String;Lcom/estrongs/fs/impl/pcs/a;)V
    .locals 1

    .line 3
    iput-object p1, p0, Les/j70;->G:Lcom/estrongs/fs/f;

    const-string p1, ":"

    .line 4
    invoke-virtual {p2, p1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p2

    const/4 v0, 0x0

    .line 5
    aget-object v0, p2, v0

    iput-object v0, p0, Les/j70;->M:Ljava/lang/String;

    const/4 v0, 0x1

    .line 6
    aget-object p2, p2, v0

    iput-object p2, p0, Les/j70;->N:Ljava/lang/String;

    .line 7
    iput-object p3, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    .line 8
    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    const-string p3, "pcs://"

    invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p3, p0, Les/j70;->M:Ljava/lang/String;

    invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p1, p0, Les/j70;->N:Ljava/lang/String;

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "@pcs/file/apps/Downloads/"

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Les/j70;->D:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Les/j70;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Les/j70;->H:Z

    return p0
.end method

.method static synthetic a(Les/j70;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Les/j70;->I:Z

    return p1
.end method

.method static synthetic b(Les/j70;)Ljava/lang/Object;
    .locals 0

    .line 1
    iget-object p0, p0, Les/j70;->J:Ljava/lang/Object;

    return-object p0
.end method

.method private b(J)V
    .locals 0

    .line 2
    :try_start_0
    invoke-static {p1, p2}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method


# virtual methods
.method protected C()Z
    .locals 12

    const-string v0, "."

    const-string v1, "name"

    .line 1
    iget-object v2, p0, Les/s80;->c:Les/w80$a;

    const/4 v3, 0x4

    iput v3, v2, Les/w80$a;->i:I

    .line 2
    invoke-virtual {p0, v2}, Les/s80;->a(Les/w80$a;)V

    .line 3
    iget-object v2, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    iget-object v2, v2, Lcom/estrongs/fs/impl/pcs/a;->p:Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/CharSequence;)Z

    move-result v2

    const/4 v3, 0x0

    const/4 v4, 0x0

    if-eqz v2, :cond_0

    .line 4
    :try_start_0
    iget-object v2, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    iget-object v5, p0, Les/j70;->P:Lcom/estrongs/fs/impl/pcs/PcsFileSystem;

    iget-object v6, p0, Les/j70;->M:Ljava/lang/String;

    iget-object v7, p0, Les/j70;->N:Ljava/lang/String;

    iget-object v8, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    iget-object v8, v8, Lcom/estrongs/fs/impl/pcs/a;->q:Ljava/lang/String;

    const-string v9, "/apps/Downloads/"

    invoke-virtual {v5, v6, v7, v8, v9}, Lcom/estrongs/fs/impl/pcs/PcsFileSystem;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v2, Lcom/estrongs/fs/impl/pcs/a;->p:Ljava/lang/String;

    const-string v2, "pcs_id"

    .line 5
    iget-object v5, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    iget-object v5, v5, Lcom/estrongs/fs/impl/pcs/a;->p:Ljava/lang/String;

    invoke-virtual {p0, v2, v5}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 6
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object v2

    iget-object v5, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v5}, Lcom/estrongs/fs/impl/pcs/a;->getPath()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v2, v5}, Les/p10;->a(Ljava/lang/String;)V
    :try_end_0
    .catch Lcom/estrongs/fs/impl/pcs/PcsFileSystem$PcsFileSystemException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 7
    iget v0, v0, Lcom/estrongs/fs/impl/pcs/PcsFileSystem$PcsFileSystemException;->errorCode:I

    invoke-virtual {p0, v0, v3}, Les/s80;->b(ILjava/lang/Object;)V

    return v4

    .line 8
    :cond_0
    :goto_0
    :try_start_1
    iget-object v2, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v2, v1}, Lcom/estrongs/fs/a;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v2

    const-wide/16 v5, 0x12c

    if-nez v2, :cond_2

    .line 9
    iget-object v2, p0, Les/j70;->P:Lcom/estrongs/fs/impl/pcs/PcsFileSystem;

    iget-object v7, p0, Les/j70;->M:Ljava/lang/String;

    iget-object v8, p0, Les/j70;->N:Ljava/lang/String;

    iget-object v9, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v2, v7, v8, v9, v4}, Lcom/estrongs/fs/impl/pcs/PcsFileSystem;->a(Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/fs/impl/pcs/a;I)V

    .line 10
    iget-object v2, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v2, v1}, Lcom/estrongs/fs/a;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_1

    goto :goto_1

    .line 11
    :cond_1
    invoke-direct {p0, v5, v6}, Les/j70;->b(J)V

    goto :goto_0

    .line 12
    :cond_2
    :goto_1
    iget-object v1, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v1}, Lcom/estrongs/fs/impl/pcs/a;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 13
    iget-object v1, p0, Les/j70;->O:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v1}, Lcom/estrongs/fs/impl/pcs/a;->getName()Ljava/lang/String;

    move-result-object v1

    goto :goto_2

    :cond_3
    iget-object v1, p0, Les/j70;->O:Ljava/lang/String;

    .line 14
    :goto_2
    iget-object v2, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v2}, Lcom/estrongs/fs/impl/pcs/a;->getName()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->x(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 15
    invoke-static {v2}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/CharSequence;)Z

    move-result v7

    if-eqz v7, :cond_5

    .line 16
    invoke-virtual {v2, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v7

    if-nez v7, :cond_4

    .line 17
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 18
    :cond_4
    invoke-virtual {v1, v2}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_5

    .line 19
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    :cond_5
    const-string v0, "title"

    .line 20
    invoke-virtual {p0, v0, v1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v0, "target"

    .line 21
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v7, p0, Les/j70;->D:Ljava/lang/String;

    invoke-virtual {v2, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 22
    :cond_6
    :goto_3
    iget-object v0, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v0}, Lcom/estrongs/fs/a;->length()J

    move-result-wide v0

    const/4 v2, 0x1

    const-wide/16 v7, 0x1

    cmp-long v9, v0, v7

    if-gez v9, :cond_8

    .line 23
    iget-object v0, p0, Les/j70;->P:Lcom/estrongs/fs/impl/pcs/PcsFileSystem;

    iget-object v1, p0, Les/j70;->M:Ljava/lang/String;

    iget-object v9, p0, Les/j70;->N:Ljava/lang/String;

    iget-object v10, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v0, v1, v9, v10, v2}, Lcom/estrongs/fs/impl/pcs/PcsFileSystem;->a(Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/fs/impl/pcs/a;I)V

    .line 24
    iget-object v0, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v0}, Lcom/estrongs/fs/a;->length()J

    move-result-wide v0

    const-wide/16 v9, 0x0

    cmp-long v11, v0, v9

    if-lez v11, :cond_7

    goto :goto_4

    .line 25
    :cond_7
    invoke-direct {p0, v5, v6}, Les/j70;->b(J)V

    goto :goto_3

    .line 26
    :cond_8
    :goto_4
    invoke-direct {p0}, Les/j70;->D()Z

    move-result v0

    if-eqz v0, :cond_9

    return v4

    :cond_9
    const-string v0, "size"

    .line 27
    iget-object v1, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v1}, Lcom/estrongs/fs/a;->length()J

    move-result-wide v5

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V
    :try_end_1
    .catch Lcom/estrongs/fs/impl/pcs/PcsFileSystem$PcsFileSystemException; {:try_start_1 .. :try_end_1} :catch_1

    .line 28
    iget-object v0, p0, Les/s80;->c:Les/w80$a;

    iput-boolean v4, v0, Les/w80$a;->n:Z

    .line 29
    iget-object v1, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v1}, Lcom/estrongs/fs/impl/pcs/a;->getName()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Les/w80$a;->j:Ljava/lang/String;

    .line 30
    iget-object v0, p0, Les/s80;->c:Les/w80$a;

    iput-wide v7, v0, Les/w80$a;->c:J

    .line 31
    iget-object v1, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v1}, Lcom/estrongs/fs/a;->length()J

    move-result-wide v3

    iput-wide v3, v0, Les/w80$a;->g:J

    .line 32
    iget-object v0, p0, Les/s80;->c:Les/w80$a;

    iget-wide v3, v0, Les/w80$a;->g:J

    iput-wide v3, v0, Les/w80$a;->e:J

    .line 33
    iget-object v1, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    iget-object v1, v1, Lcom/estrongs/fs/impl/pcs/a;->q:Ljava/lang/String;

    iput-object v1, v0, Les/w80$a;->a:Ljava/lang/String;

    const/4 v1, 0x2

    .line 34
    iput v1, v0, Les/w80$a;->i:I

    .line 35
    invoke-virtual {p0, v0}, Les/s80;->a(Les/w80$a;)V

    .line 36
    invoke-static {}, Les/t80;->b()Les/t80;

    move-result-object v0

    invoke-virtual {v0, p0}, Les/t80;->c(Les/s80;)V

    return v2

    :catch_1
    move-exception v0

    .line 37
    iget v0, v0, Lcom/estrongs/fs/impl/pcs/PcsFileSystem$PcsFileSystemException;->errorCode:I

    invoke-virtual {p0, v0, v3}, Les/s80;->b(ILjava/lang/Object;)V

    return v4
.end method

.method public varargs a(I[Ljava/lang/Object;)V
    .locals 8

    const/4 v0, 0x0

    const/4 v1, 0x1

    if-eq p1, v1, :cond_2

    const/4 v2, 0x2

    if-eq p1, v2, :cond_1

    const/16 v2, 0x9

    if-eq p1, v2, :cond_0

    .line 9
    invoke-super {p0, p1, p2}, Les/s80;->a(I[Ljava/lang/Object;)V

    goto/16 :goto_0

    .line 10
    :cond_0
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    aget-object v0, p2, v0

    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    iput-wide v2, p1, Les/w80$a;->g:J

    .line 11
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    aget-object p2, p2, v1

    check-cast p2, Ljava/lang/Long;

    invoke-virtual {p2}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    iput-wide v0, p1, Les/w80$a;->h:J

    goto/16 :goto_0

    .line 12
    :cond_1
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    iget-wide v2, p1, Les/w80$a;->f:J

    aget-object v4, p2, v0

    check-cast v4, Ljava/lang/Long;

    invoke-virtual {v4}, Ljava/lang/Long;->longValue()J

    move-result-wide v4

    add-long/2addr v2, v4

    iput-wide v2, p1, Les/w80$a;->f:J

    .line 13
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    aget-object p2, p2, v1

    check-cast p2, Ljava/lang/String;

    iput-object p2, p1, Les/w80$a;->a:Ljava/lang/String;

    .line 14
    invoke-virtual {p0}, Les/s80;->o()Z

    move-result p1

    if-eqz p1, :cond_3

    iget-boolean p1, p0, Les/j70;->I:Z

    if-eqz p1, :cond_3

    .line 15
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    iget-wide p1, p1, Les/w80$a;->f:J

    iget-object v1, p0, Les/j70;->L:Ljava/lang/Long;

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v1

    sub-long/2addr p1, v1

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    .line 16
    new-instance p2, Ljava/util/Date;

    invoke-direct {p2}, Ljava/util/Date;-><init>()V

    invoke-virtual {p2}, Ljava/util/Date;->getTime()J

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p2

    .line 17
    iget-object v1, p0, Les/s80;->c:Les/w80$a;

    invoke-virtual {p1}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    long-to-float p1, v2

    float-to-double v2, p1

    invoke-virtual {p2}, Ljava/lang/Long;->longValue()J

    move-result-wide v4

    iget-object p1, p0, Les/j70;->K:Ljava/lang/Long;

    invoke-virtual {p1}, Ljava/lang/Long;->longValue()J

    move-result-wide v6

    sub-long/2addr v4, v6

    long-to-double v4, v4

    const-wide v6, 0x408f400000000000L    # 1000.0

    invoke-static {v4, v5}, Ljava/lang/Double;->isNaN(D)Z

    div-double/2addr v4, v6

    invoke-static {v2, v3}, Ljava/lang/Double;->isNaN(D)Z

    div-double/2addr v2, v4

    double-to-int p1, v2

    iput p1, v1, Les/w80$a;->b:I

    .line 18
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    iget-wide v1, p1, Les/w80$a;->f:J

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    iput-object p1, p0, Les/j70;->L:Ljava/lang/Long;

    .line 19
    iput-object p2, p0, Les/j70;->K:Ljava/lang/Long;

    .line 20
    iget-object p1, p0, Les/j70;->J:Ljava/lang/Object;

    monitor-enter p1

    .line 21
    :try_start_0
    iput-boolean v0, p0, Les/j70;->I:Z

    .line 22
    monitor-exit p1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 23
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    invoke-virtual {p0, p1}, Les/s80;->a(Les/w80$a;)V

    return-void

    :catchall_0
    move-exception p2

    .line 24
    :try_start_1
    monitor-exit p1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw p2

    .line 25
    :cond_2
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    iget-wide v2, p1, Les/w80$a;->d:J

    aget-object v0, p2, v0

    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v4

    add-long/2addr v2, v4

    iput-wide v2, p1, Les/w80$a;->d:J

    .line 26
    iget-object p1, p0, Les/s80;->c:Les/w80$a;

    aget-object p2, p2, v1

    check-cast p2, Ljava/lang/String;

    iput-object p2, p1, Les/w80$a;->a:Ljava/lang/String;

    :cond_3
    :goto_0
    return-void
.end method

.method protected e()V
    .locals 2

    .line 1
    invoke-super {p0}, Les/s80;->e()V

    .line 2
    invoke-virtual {p0}, Les/s80;->m()I

    move-result v0

    const/4 v1, 0x5

    if-ne v0, v1, :cond_0

    .line 3
    invoke-static {}, Les/t80;->b()Les/t80;

    move-result-object v0

    iget-object v0, v0, Les/t80;->e:Les/z80;

    invoke-virtual {p0, v0}, Les/s80;->a(Les/z80;)V

    :cond_0
    return-void
.end method

.method public s()V
    .locals 1

    .line 1
    invoke-static {}, Les/t80;->b()Les/t80;

    move-result-object v0

    invoke-virtual {v0, p0}, Les/t80;->b(Les/s80;)V

    .line 2
    invoke-super {p0}, Les/s80;->s()V

    return-void
.end method

.method public u()V
    .locals 1

    .line 1
    invoke-super {p0}, Les/s80;->u()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Les/j70;->H:Z

    return-void
.end method

.method public y()Z
    .locals 12

    const-string v0, "/files/apps/Downloads/"

    const-string v1, "status"

    const-string v2, "http://wwz.cn"

    const/4 v3, 0x0

    const/4 v4, 0x1

    .line 1
    :try_start_0
    iget-object v5, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    iget-object v5, v5, Lcom/estrongs/fs/impl/pcs/a;->q:Ljava/lang/String;

    const-string v6, "http://c.cn/"

    .line 2
    invoke-virtual {v5, v6}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_0

    .line 3
    new-instance v6, Lorg/apache/http/client/methods/HttpGet;

    invoke-direct {v6, v5}, Lorg/apache/http/client/methods/HttpGet;-><init>(Ljava/lang/String;)V

    .line 4
    invoke-static {v3}, Lcom/estrongs/fs/impl/pcs/PcsFileSystem;->a(Z)Lorg/apache/http/client/HttpClient;

    move-result-object v7
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_3
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 5
    :try_start_1
    invoke-interface {v7, v6}, Lorg/apache/http/client/HttpClient;->execute(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpResponse;

    move-result-object v6

    .line 6
    invoke-interface {v6}, Lorg/apache/http/HttpResponse;->getStatusLine()Lorg/apache/http/StatusLine;

    move-result-object v7

    invoke-interface {v7}, Lorg/apache/http/StatusLine;->getStatusCode()I

    move-result v7

    const/16 v8, 0x12c

    if-le v7, v8, :cond_0

    const/16 v8, 0x190

    if-ge v7, v8, :cond_0

    const-string v7, "Location"

    .line 7
    invoke-interface {v6, v7}, Lorg/apache/http/HttpResponse;->getHeaders(Ljava/lang/String;)[Lorg/apache/http/Header;

    move-result-object v6

    if-eqz v6, :cond_0

    .line 8
    array-length v7, v6

    if-lez v7, :cond_0

    .line 9
    aget-object v6, v6, v3

    invoke-interface {v6}, Lorg/apache/http/Header;->getValue()Ljava/lang/String;

    move-result-object v5
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 10
    :catch_0
    :cond_0
    :try_start_2
    invoke-virtual {v5, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_1

    .line 11
    invoke-static {v5}, Lcom/estrongs/fs/impl/pcs/PcsFileSystem;->h(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    if-eqz v6, :cond_1

    move-object v5, v6

    :cond_1
    const-string v6, "http://www.estrodds.com/esshare?s="

    .line 12
    invoke-virtual {v5, v6}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_2

    const/16 v6, 0x22

    .line 13
    invoke-virtual {v5, v6}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v5

    const/16 v6, 0x5f

    const/16 v7, 0x20

    .line 14
    invoke-virtual {v5, v6, v7}, Ljava/lang/String;->replace(CC)Ljava/lang/String;

    move-result-object v5

    const/16 v6, 0x2d

    const/16 v7, 0x2f

    invoke-virtual {v5, v6, v7}, Ljava/lang/String;->replace(CC)Ljava/lang/String;

    move-result-object v5

    .line 15
    invoke-static {v5, v3}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v5

    .line 16
    :cond_2
    invoke-virtual {v5, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 17
    invoke-static {v5}, Lcom/estrongs/fs/impl/pcs/PcsFileSystem;->h(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_3

    move-object v5, v2

    .line 18
    :cond_3
    iget-object v2, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    iput-object v5, v2, Lcom/estrongs/fs/impl/pcs/a;->q:Ljava/lang/String;

    .line 19
    invoke-virtual {p0}, Les/j70;->C()Z

    move-result v2
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_3
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    if-nez v2, :cond_4

    .line 20
    iput-boolean v4, p0, Les/j70;->H:Z

    return v3

    .line 21
    :cond_4
    :try_start_3
    invoke-virtual {p0}, Les/s80;->o()Z

    move-result v2

    if-eqz v2, :cond_5

    .line 22
    new-instance v2, Les/j70$a;

    invoke-direct {v2, p0}, Les/j70$a;-><init>(Les/j70;)V

    .line 23
    invoke-virtual {v2}, Ljava/lang/Thread;->start()V

    .line 24
    :cond_5
    iget-object v2, p0, Les/s80;->c:Les/w80$a;

    const/4 v5, 0x2

    iput v5, v2, Les/w80$a;->i:I

    .line 25
    iget-object v2, p0, Les/s80;->c:Les/w80$a;

    invoke-virtual {p0, v2}, Les/s80;->a(Les/w80$a;)V

    const/4 v2, 0x0

    .line 26
    :goto_0
    iget-boolean v5, p0, Les/j70;->E:Z
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    if-eqz v5, :cond_6

    .line 27
    :try_start_4
    iget-object v0, p0, Les/j70;->G:Lcom/estrongs/fs/f;

    iget-object v1, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v0, v1}, Lcom/estrongs/fs/f;->a(Lcom/estrongs/fs/g;)Z
    :try_end_4
    .catch Lcom/estrongs/fs/FileSystemException; {:try_start_4 .. :try_end_4} :catch_1
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_3
    .catchall {:try_start_4 .. :try_end_4} :catchall_0

    goto :goto_1

    :catch_1
    move-exception v0

    .line 28
    :try_start_5
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :goto_1
    const/4 v0, 0x5

    .line 29
    invoke-virtual {p0, v0}, Les/s80;->a(I)V
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_3
    .catchall {:try_start_5 .. :try_end_5} :catchall_0

    .line 30
    iput-boolean v4, p0, Les/j70;->H:Z

    return v3

    :cond_6
    const/4 v5, -0x1

    const/4 v6, 0x0

    .line 31
    :try_start_6
    iget-object v7, p0, Les/j70;->P:Lcom/estrongs/fs/impl/pcs/PcsFileSystem;

    iget-object v8, p0, Les/j70;->M:Ljava/lang/String;

    iget-object v9, p0, Les/j70;->N:Ljava/lang/String;

    iget-object v10, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v7, v8, v9, v10, v4}, Lcom/estrongs/fs/impl/pcs/PcsFileSystem;->a(Ljava/lang/String;Ljava/lang/String;Lcom/estrongs/fs/impl/pcs/a;I)V

    .line 32
    iget-object v7, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v7, v1}, Lcom/estrongs/fs/a;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v7

    invoke-static {v7, v5}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Object;I)I

    move-result v7

    const/4 v8, 0x7

    if-ne v7, v8, :cond_7

    .line 33
    invoke-static {}, Les/t80;->b()Les/t80;

    move-result-object v7

    invoke-virtual {v7, p0}, Les/t80;->b(Les/s80;)V

    .line 34
    :cond_7
    invoke-direct {p0}, Les/j70;->D()Z

    move-result v7
    :try_end_6
    .catch Lcom/estrongs/fs/impl/pcs/PcsFileSystem$PcsFileSystemException; {:try_start_6 .. :try_end_6} :catch_2
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_3
    .catchall {:try_start_6 .. :try_end_6} :catchall_0

    if-eqz v7, :cond_9

    .line 35
    iput-boolean v4, p0, Les/j70;->H:Z

    return v3

    :catch_2
    move-exception v7

    const/4 v8, 0x3

    if-le v2, v8, :cond_8

    .line 36
    :try_start_7
    iget v0, v7, Lcom/estrongs/fs/impl/pcs/PcsFileSystem$PcsFileSystemException;->errorCode:I

    invoke-virtual {p0, v0, v6}, Les/s80;->b(ILjava/lang/Object;)V
    :try_end_7
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_3
    .catchall {:try_start_7 .. :try_end_7} :catchall_0

    .line 37
    iput-boolean v4, p0, Les/j70;->H:Z

    return v3

    :cond_8
    add-int/lit8 v2, v2, 0x1

    .line 38
    :cond_9
    :try_start_8
    iget-object v7, p0, Les/s80;->c:Les/w80$a;

    iget-object v8, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    iget-wide v8, v8, Lcom/estrongs/fs/impl/pcs/a;->s:J

    iput-wide v8, v7, Les/w80$a;->h:J

    .line 39
    iget-object v7, p0, Les/s80;->c:Les/w80$a;

    iget-object v8, p0, Les/s80;->c:Les/w80$a;

    iget-wide v8, v8, Les/w80$a;->h:J

    iput-wide v8, v7, Les/w80$a;->f:J

    .line 40
    iget-object v7, p0, Les/s80;->c:Les/w80$a;

    invoke-virtual {p0, v7}, Les/s80;->a(Les/w80$a;)V

    .line 41
    iget-object v7, p0, Les/s80;->c:Les/w80$a;

    iget-wide v7, v7, Les/w80$a;->f:J

    iget-object v9, p0, Les/s80;->c:Les/w80$a;

    iget-wide v9, v9, Les/w80$a;->e:J

    cmp-long v11, v7, v9

    if-gez v11, :cond_b

    iget-object v7, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v7, v1}, Lcom/estrongs/fs/a;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v7

    invoke-static {v7, v5}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Object;I)I

    move-result v5

    if-nez v5, :cond_a

    goto :goto_2

    :cond_a
    const-wide/16 v5, 0x12c

    .line 42
    invoke-direct {p0, v5, v6}, Les/j70;->b(J)V

    .line 43
    invoke-virtual {p0}, Les/s80;->z()Z

    goto/16 :goto_0

    :cond_b
    :goto_2
    const-string v1, "end_time"

    .line 44
    iget-object v2, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v2}, Lcom/estrongs/fs/a;->lastModified()J

    move-result-wide v7

    invoke-static {v7, v8}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-virtual {p0, v1, v2}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 45
    invoke-virtual {p0}, Les/s80;->w()Lorg/json/JSONObject;

    move-result-object v1

    const-string v2, "title"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 46
    invoke-static {v1}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_c

    iget-object v2, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v2}, Lcom/estrongs/fs/impl/pcs/a;->getName()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2, v1}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_c

    .line 47
    iget-object v2, p0, Les/j70;->P:Lcom/estrongs/fs/impl/pcs/PcsFileSystem;

    iget-object v5, p0, Les/j70;->M:Ljava/lang/String;

    iget-object v7, p0, Les/j70;->N:Ljava/lang/String;

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v9, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v9}, Lcom/estrongs/fs/impl/pcs/a;->getName()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v9, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v9, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v5, v7, v8, v0}, Lcom/estrongs/fs/impl/pcs/PcsFileSystem;->renameFile(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_c

    const-string v0, "target"

    .line 48
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, p0, Les/j70;->D:Ljava/lang/String;

    invoke-virtual {v2, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Les/s80;->a(Ljava/lang/String;Ljava/lang/Object;)V

    .line 49
    :cond_c
    iget-object v0, p0, Les/j70;->F:Lcom/estrongs/fs/impl/pcs/a;

    invoke-virtual {v0}, Lcom/estrongs/fs/impl/pcs/a;->getPath()Ljava/lang/String;

    move-result-object v0

    .line 50
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object v1

    invoke-virtual {v1, v0}, Les/p10;->a(Ljava/lang/String;)V

    const-string v1, "@pcs/files/"

    .line 51
    invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v1

    if-ltz v1, :cond_d

    .line 52
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object v2

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/estrongs/fs/impl/pcs/b;->o()Lcom/estrongs/fs/impl/pcs/b;

    move-result-object v7

    invoke-virtual {v7}, Lcom/estrongs/fs/a;->getPath()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v5, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    add-int/lit8 v1, v1, 0xb

    invoke-virtual {v0, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Les/p10;->a(Ljava/lang/String;)V

    .line 53
    :cond_d
    invoke-virtual {p0, v3, v6}, Les/s80;->b(ILjava/lang/Object;)V
    :try_end_8
    .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_3
    .catchall {:try_start_8 .. :try_end_8} :catchall_0

    .line 54
    iput-boolean v4, p0, Les/j70;->H:Z

    return v4

    :catchall_0
    move-exception v0

    goto :goto_3

    :catch_3
    move-exception v0

    const/16 v1, 0x2710

    .line 55
    :try_start_9
    new-instance v2, Les/u80$a;

    invoke-virtual {v0}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-direct {v2, v5, v0}, Les/u80$a;-><init>(Ljava/lang/String;Ljava/lang/Exception;)V

    invoke-virtual {p0, v1, v2}, Les/s80;->b(ILjava/lang/Object;)V
    :try_end_9
    .catchall {:try_start_9 .. :try_end_9} :catchall_0

    .line 56
    iput-boolean v4, p0, Les/j70;->H:Z

    return v3

    :goto_3
    iput-boolean v4, p0, Les/j70;->H:Z

    .line 57
    goto :goto_5

    :goto_4
    throw v0

    :goto_5
    goto :goto_4
.end method
